package com.beauty.inventory.exception;

public class InsufficientStockException extends InventoryException {
    
    public InsufficientStockException(String message) {
        super(message);
    }
    
    public InsufficientStockException(String productId, Integer requested, Integer available) {
        super(String.format("产品 %s 库存不足: 请求 %d, 可用 %d", productId, requested, available));
    }
} 